package org.exercise7.cmd.order;

/**
 * @author Stranger
 * @version 1.0
 * @description: TODO
 * @date 2022/11/28 20:27
 */
public class DivOrder implements Order {

    private int target;

    public DivOrder(int target) {
        this.target = target;
    }


    @Override
    public int invoke(int num) {
        return num / target;
    }

}
